'use strict';

const Controller = require('egg').Controller;

class DelectController extends Controller {
  async delect() {
      const { ctx }=this
    let getID=await ctx.query.id
    const getResule=await ctx.service.delect.delect(getID)
    ctx.redirect('/')
  }
}

module.exports = DelectController;
